package com.yanqu.road.entity.log;

import com.yanqu.road.entity.FieldTypeAnnotation;

@FieldTypeAnnotation(tableName = "t_l_ck_shrek_event", desc = "史莱克学院/恶人谷-随机事件处理日志", autoSave = true, uploadCk = true)
public class LogShrekEvent extends ServerBaseLog{
    @FieldTypeAnnotation(isIndex = true,desc = "活动id")
    private int activityId;
    @FieldTypeAnnotation(isIndex = true,desc = "玩家id")
    private long userId;
    @FieldTypeAnnotation(desc = "建筑id")
    private int buildingId;
    @FieldTypeAnnotation(desc = "事件id")
    private int eventId;
    @FieldTypeAnnotation(desc = "奖励")
    private String reward;
    @FieldTypeAnnotation(desc = "事件时间")
    private long eventTime;
    @FieldTypeAnnotation(desc = "处理时间")
    private long dealTime;

    public LogShrekEvent(int activityId, long userId, int buildingId, int eventId, String reward, long eventTime, long dealTime) {
        this.activityId = activityId;
        this.userId = userId;
        this.buildingId = buildingId;
        this.eventId = eventId;
        this.reward = reward;
        this.eventTime = eventTime;
        this.dealTime = dealTime;
    }

    public int getActivityId() {
        return activityId;
    }

    public long getUserId() {
        return userId;
    }

    public int getBuildingId() {
        return buildingId;
    }

    public int getEventId() {
        return eventId;
    }

    public String getReward() {
        return reward;
    }

    public long getEventTime() {
        return eventTime;
    }

    public long getDealTime() {
        return dealTime;
    }

    public void setActivityId(int activityId) {
        this.activityId = activityId;
    }

    public void setUserId(long userId) {
        this.userId = userId;
    }

    public void setBuildingId(int buildingId) {
        this.buildingId = buildingId;
    }

    public void setEventId(int eventId) {
        this.eventId = eventId;
    }

    public void setReward(String reward) {
        this.reward = reward;
    }

    public void setEventTime(long eventTime) {
        this.eventTime = eventTime;
    }

    public void setDealTime(long dealTime) {
        this.dealTime = dealTime;
    }
}
